package io.renren.modules.app.entity;

import javax.xml.crypto.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * @Program: renren-fast
 * @Package: io.renren.modules.mynj.entity
 * @ClassName: AppPayEntity
 * @Description: app支付实体
 * @Author: ShenPengPeng
 * @CreateDate: 2018-11-07 09:17
 * @Version: 1.0
 */
public class AppPayEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    //ID
    private String id;
    //模块key
    private String key;
    //第三方加密的密匙(公钥)
    private String publicKey;
    //私钥
    private String privateKey;
    //私钥（pkcs8）
    private String privateKeyPkcs8;
    //支付方式
    private String payMentType;
    //删除标志
    private String deleteFlag;
    //备注
    private String bz;
    //创建人
    private String createUser;
    //创建时间
    private Date createTime;
    //修改人
    private String updateUser;
    //修改时间
    private Date updateTime;

    public AppPayEntity() {
    }

    public AppPayEntity(String id, String key, String publicKey, String privateKey, String privateKeyPkcs8, String payMentType, String deleteFlag, String bz, String createUser, Date createTime, String updateUser, Date updateTime) {
        this.id = id;
        this.key = key;
        this.publicKey = publicKey;
        this.privateKey = privateKey;
        this.privateKeyPkcs8 = privateKeyPkcs8;
        this.payMentType = payMentType;
        this.deleteFlag = deleteFlag;
        this.bz = bz;
        this.createUser = createUser;
        this.createTime = createTime;
        this.updateUser = updateUser;
        this.updateTime = updateTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPrivateKeyPkcs8() {
        return privateKeyPkcs8;
    }

    public void setPrivateKeyPkcs8(String privateKeyPkcs8) {
        this.privateKeyPkcs8 = privateKeyPkcs8;
    }

    public String getPayMentType() {
        return payMentType;
    }

    public void setPayMentType(String payMentType) {
        this.payMentType = payMentType;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "AppPayEntity{" +
                "id='" + id + '\'' +
                ", key='" + key + '\'' +
                ", publicKey='" + publicKey + '\'' +
                ", privateKey='" + privateKey + '\'' +
                ", privateKeyPkcs8='" + privateKeyPkcs8 + '\'' +
                ", payMentType='" + payMentType + '\'' +
                ", deleteFlag='" + deleteFlag + '\'' +
                ", bz='" + bz + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
